﻿using System.Reflection;

namespace Smile.Mvvm.Service
{
    /// <summary>Service which provides application informations.</summary>
    public class AppInfoService : IAppInfoService
    {
        // @Properties
        public string Version
        {
            get 
            {
                return Assembly.GetExecutingAssembly().FullName.Split('=')[1].Split(',')[0];
            }
        }
    }
}
